<?php

$iddmpk=$_GET["id"];
$sql=mysql_query("select * from additional where iddmpk='$iddmpk'");
$t=mysql_num_rows($sql);
?>

<table width=100% cellpadding="0" cellspacing="0" ><tr><td>
    <caption title="danh mục phụ kiện" class="captionTable">DANH MỤC PHỤ KIỆN</caption>
<tr>
<td>
</table>
<?php if($t!=0){?> 
	<table width="100%">
    
	<?php while($row=mysql_fetch_row($sql)){ ?>
	<tr ><td width='40%'><?php echo $row[1] ; ?><br><img src="images/phukien/<?php echo $row[3]; ?>"><br><font color="#FF0000"><?php echo  $row[2]; ?></font>&nbsp; VND</td><td><?php echo $row[4];?> </td></tr>
<?php 	}?>
</table>
<?php }else{ ?> 
	 <center><br>Loai dien thoai nay chua co! Xin vui long xem loai khac!<br><br> 
<?php 	} ?>
</td>
</tr>
</table>
